package com.fita.admin.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * @author Wilson
 * 
 */
@Controller
public class HomeController {
    
    /**
     * 
     * @return
     */
    @RequestMapping("/home")
    public String home() {
        return "redirect:/profile";
    }
    
    /**
     * 
     * @return
     */
    @RequestMapping("/data")
    public String data() {
        return "redirect:/countries";
    }
    
    /**
     * 
     * @return
     */
    @RequestMapping("/agent")
    public String agent() {
        return "redirect:/agent-audits";
    }
    
    /**
     * 
     * @return
     */
    @RequestMapping("/order")
    public String order() {
        return "redirect:/orders";
    }
    
    /**
     * @return
     */
    @RequestMapping("/authority")
    public String authority() {
        return "redirect:/profile";
    }
    
    /**
     * @return
     */
    @RequestMapping("/report")
    public String report() {
        return "redirect:/reports";
    }
    
    /**
     * @return
     */
    @RequestMapping("/client")
    public String client() {
        return "redirect:/clients";
    }
    
    /**
     * @return
     */
    @RequestMapping("/coupon")
    public String coupon() {
        return "redirect:/coupon-template";
    }
    
}
